package com.zc.security;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.net.InetAddress;
import java.net.UnknownHostException;

@Slf4j
@SpringBootApplication
@MapperScan("com.zc.security.mapper")
public class SpringbootSecurityDemo2Application {

    public static void main(String[] args) throws UnknownHostException {
        SpringApplication.run(SpringbootSecurityDemo2Application.class, args);
        log.info("ApiDoc （接口文档）::\t http://{}:{}{}doc.html", InetAddress.getLocalHost().getHostAddress(), 8080, "/");
    }

}
